<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords"
	content="Shoppy Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script src="${pageContext.request.contextPath}/management/js/jquery-2.1.1.min.js"></script>
<link href="${pageContext.request.contextPath}/management/bootstrap-table/css/bootstrap.css" rel="stylesheet" type="text/css" media="all"/>
<!-- <script src="js/bootstrap.js"></script> -->
<script src="${pageContext.request.contextPath}/management/js/bootstrap.min.js"></script>

<link href="${pageContext.request.contextPath}/management/css/style.css" rel="stylesheet" type="text/css" media="all" />
<link href="${pageContext.request.contextPath}/management/css/font-awesome.css" rel="stylesheet"/>

<link href="${pageContext.request.contextPath}/management/bootstrap-table/css/bootstrap-table.min.css" rel="stylesheet" type="text/css"/>
<script src="${pageContext.request.contextPath}/management/bootstrap-table/js/bootstrap-table.min.js"></script>
<script src="${pageContext.request.contextPath}/management/bootstrap-table/js/bootstrap-table-zh-CN.js"></script>
<script src="${pageContext.request.contextPath}/management/js/bootstrap-multiselect.js"></script>
<script src="${pageContext.request.contextPath}/management/js/bootstrap-select.min.js"></script>
<script type="text/javascript">
//时间格式化
function formatTime(value, row, index) {
	if(value == null) {
		return '';
	}
	var val = new Date(value);
	var year = parseInt(val.getYear()) + 1900;
	var month = parseInt(val.getMonth()) + 1;
	month = month > 9 ? month : ('0' + month);
	var date = parseInt(val.getDate());
	date = date > 9 ? date : ('0' + date);
	var hours = parseInt(val.getHours());
	hours = hours > 9 ? hours : ('0' + hours);
	var minutes = parseInt(val.getMinutes());
	minutes = minutes > 9 ? minutes : ('0' + minutes);
	var seconds = parseInt(val.getSeconds());
	seconds = seconds > 9 ? seconds : ('0' + seconds);
	var time = year + '-' + month + '-' + date + ' ' + hours + ':' + minutes + ':' + seconds;
	return time;
};
//删除标识格式化
function formatDeleteFlag(value, row, index){
	if(value == null) {
		return '';
	}
	if(value == 1){
		return '已删除';
	}
	if(value == 0){
		return '未删除';
	}
}
</script>
</head>
</html>